package com.it.map_impl;

import java.util.HashMap;
import java.util.Map;

public class Test1 {
    public static void main(String[] args) {
        Map<Student, String> map = new HashMap<>();
        map.put(new Student("至尊宝", 28, 169.9), "水帘洞");
        map.put(new Student("至尊宝", 28, 169.9), "水帘洞");
        map.put(new Student("蜘蛛精", 23, 160.9), "盘丝洞");
        map.put(new Student("紫霞", 26, 150.9), "黑熊洞");
        map.put(new Student("牛魔二", 26, 180.9), "牛头山");
        System.out.println(map);
    }
}
